export default {
	methods: {
		formatUserAnswer() {
			if (this.isSingleTopic) return this.toChar(this.userAnswer[0]);
			return this.userAnswer
				.sort((a, b) => a - b)
				.map(item => this.toChar(item))
				.join('');
		},
		toChar(num) {
			return String.fromCharCode(65 + num);
		}
	}
}
